package com.x.静态代理;

import com.x.静态代理.statics.StaticProxyCalculator;

/**
 * ClassName: App
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.09.03 22:52
 */
public class App {
    public static void main(String[] args) {

        Calculator calculator = new CalculatorPureImpl();

        StaticProxyCalculator proxyCalculator = new StaticProxyCalculator(calculator);

        long div = (long) proxyCalculator.add(1, 2);

    }
}
